package com.workoutdiary.service;

import com.workoutdiary.dao.UserDao;
import com.workoutdiary.entities.User;

public class Logger {
	
	public User login(String login, String password) {
		UserDao userDao = new UserDao();
		User user = userDao.read(login, password);
		
		return user;
	}
	
}
